package edu.uestc.canary.commons.files.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

@ConfigurationProperties(prefix = "minio")
@Setter
@Getter
public class MinioConfigProperties implements Serializable {
    private static final long serialVersionUID = -2257118441759292453L;
    /**
     * accessKey
     */
    private String accessKey;
    /**
     * secretKey
     */
    private String secretKey;
    /**
     * bucket:桶名称
     */
    private String bucket;
    /**
     * endpoint: 服务器路径
     */
    private String endpoint;
    /**
     * readPath:文件读取路径
     */
    private String readPath;
}
